package dao.lzl.service.impl;

import dao.lzl.dao.NewsDao;
import dao.lzl.factory.SimpleDaoFactory;
import dao.lzl.pojo.News;
import dao.lzl.service.NewsService;

public class NewsServiceImpl implements NewsService {
    private NewsDao dao;
    public void setDao(NewsDao dao){
        this.dao = dao;
    }
    @Override
    public void save(News news) {
        dao.save(news);
    }

    public void addNews(News news) {
    }
}
